package com.hnguigu.health.houduan.lcj.mapper_lcj;

import com.hnguigu.health.houduan.lcj.pojo_lcj.TCheckitem_lcj;
import com.hnguigu.health.pojo.TCheckitem;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface TCheckitemMapper_lcj {
    int deleteByPrimaryKey(Integer id);

    int insert(TCheckitem_lcj record);

    int insertSelective(TCheckitem_lcj record);

    TCheckitem selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(TCheckitem_lcj record);

    int updateByPrimaryKey(TCheckitem_lcj record);

    List<TCheckitem_lcj> findAll(String name);

    @Select("select * from t_checkitem where name=#{code}")
    TCheckitem_lcj ById(String code);

    @Delete("delete from t_checkitem where checkitem_id=#{checkitemId}")
    int delById(String checkitemId);

    TCheckitem_lcj Lastbean();
}